package cn.uniquesoft.service.impl;

import cn.uniquesoft.mapper.VisitFilesMapper;
import cn.uniquesoft.service.IVisitFilesService;
import cn.uniquesoft.service.base.BaseServiceImpl;
import cn.uniquesoft.vo.VisitFilesVO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VisitFilesServiceImpl extends BaseServiceImpl<VisitFilesVO> implements IVisitFilesService {
    private VisitFilesMapper visitFilesMapper;
    public VisitFilesServiceImpl(VisitFilesMapper visitFilesMapper){
        super();
        this.baseMapper=visitFilesMapper;
        this.visitFilesMapper=visitFilesMapper;
    }

    @Override
    public List<VisitFilesVO> findByIpid(int ipid) {
        return this.visitFilesMapper.findByIpid(ipid);
    }
}
